"; echo ""; ?> "; echo "Error!!!"; echo ""; echo ""; echo ""; echo "

"; echo "\"!\"/
"; echo "Error! Cannot Connect To Database...

"; echo "This error happens usually when backing up the database, please be patient..."; echo "

"; echo ""; echo ""; exit(); } $brws = explode("/",$HTTP_USER_AGENT); $ubr = $brws[0]; $uip = getip(); $action = $_GET["action"]; $sid = $_GET["sid"]; $page = $_GET["page"]; $who = $_GET["who"]; $sitename = mysql_fetch_array(mysql_query("SELECT value FROM ibwf_settings WHERE name='sitename'")); $sitename = $sitename[0]; $uid = getuid_sid($sid); $theme = mysql_fetch_array(mysql_query("SELECT theme FROM ibwf_users WHERE id='".$uid."'")); cleardata(); if(isipbanned($uip,$ubr)) { if(!isshield(getuid_sid($sid))) { echo ""; echo "Error"; echo ""; echo ""; echo ""; echo "

"; echo "\"x\"/
"; echo "This IP address is blocked
"; echo "
"; echo "How ever we grant a shield against IP-Ban for our great users, you can try to see if you are shielded by trying to log-in, if you kept coming to this page that means you are not shielded, so come back when the ip-ban period is over

"; $banto = mysql_fetch_array(mysql_query("SELECT timeto FROM ibwf_penalties WHERE penalty='2' AND ipadd='".$uip."' AND browserm='".$ubr."' LIMIT 1 ")); //echo mysql_error(); $remain = $banto[0] - time(); $rmsg = gettimemsg($remain); echo " IP: $rmsg

"; echo "

"; echo "

"; echo "

"; echo "Username:

"; echo "Password:

"; echo "
"; echo "

"; echo ""; echo ""; exit(); } } if(($action != "") && ($action!="terms")) { $uid = getuid_sid($sid); if((islogged($sid)==false)||($uid==0)) { echo ""; echo "Error"; echo ""; echo ""; echo ""; echo "

"; echo "You are not logged in
"; echo "Or Your session has been expired

"; echo "Login"; echo "

"; echo ""; echo ""; exit(); } } if(isbanned($uid)) { echo ""; echo "Error!!!"; echo ""; echo ""; echo ""; echo "

"; echo "\"x\"/
"; echo "You are Banned

"; $banto = mysql_fetch_array(mysql_query("SELECT timeto, pnreas, exid FROM ibwf_penalties WHERE uid='".$uid."' AND penalty='1' OR uid='".$uid."' AND penalty='2'")); $banres = mysql_fetch_array(mysql_query("SELECT lastpnreas FROM ibwf_users WHERE id='".$uid."'")); $remain = $banto[0]- time(); $rmsg = gettimemsg($remain); echo "Time Left: $rmsg
"; $nick = getnick_uid($banto[2]); echo "By: $nick
"; echo "Reason: $banto[1]"; //echo "Login"; echo "

"; echo ""; echo ""; exit(); } $res = mysql_query("UPDATE ibwf_users SET browserm='".$ubr."', ipadd='".$uip."' WHERE id='".getuid_sid($sid)."'"); ////////////////////////////////////////MAIN PAGE echo ""; echo "Site Links"; echo ""; echo ""; echo ""; addonline(getuid_sid($sid),"Site Links",""); $nick = getnick_uid(1); echo "

If u have a site and want a link placed here inbox $nick

"; echo "

"; $query = mysql_query("SELECT url, title FROM ibwf_links"); while ($links = mysql_fetch_array($query)) { $link = "$links[1]"; if(isowner(getuid_sid($sid))) { $del = "[X]"; } echo "$link $del
"; } echo "

"; echo "

"; if(isadmin(getuid_sid($sid))) { echo "1 Add Link
"; } echo "0 \"\"/Home"; echo "

"; echo ""; ?>